home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 40
/
Amiga Format CD40 (1999-05-11)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-06].iso
/
-readerstuff-
/
steve_turner
/
canal
/
routes
/
hd_install
< prev
next >
Wrap
Text File
|
1999-03-29
|
2KB
|
102 lines
;CANAL CALUCLATOR INSTALL SCRIPT
;Copyright STEVE TURNER 1995
;VER$="V2.0"
(complete 0)
(if (= @user-level 0)
( (set def "SYS:canaldisk")
(makedir def
(prompt "\nCreating draw \"SYS:CanalDisk\".")
(help "To keep things neat, we will make a new draw for the \"Canal Calculator\".")
(infos)
)
)
(set def "SYS:")
)
(complete 28)
(set location
(askdir
(prompt "\nPlease give me a directory to install \"Canal Calculator\"\n No Draw will be created")
(help @askdir-help)
(default def)
(disk)
)
)
(complete 29)
(set location (expandpath location))
(complete 30)
(set @default-dest location)
(complete 31)
(onerror
(message "An Error has Occured.\n"
"For some reason I am unable to copy a file.\n"
"Clean Up part copied files before retry."
)
)
(copyfiles
(prompt ("\nCopying files to %s" location))
(help @copyfiles-help)
(source "")
(dest location)
(all)
(infos)
)
(complete 85)
(set icon1 (cat location "/Read Me"))
(complete 86)
(set icon2 (cat location "/Canal.Doc"))
(complete 87)
(set icon3 (cat location "/Canal.Guide"))
(complete 88)
(tooltype
(prompt ("\nSetting default text reader for \"%s\" to \"C:PPMore\"." icon1))
(help "This will set the tool used to read the text files so that it looksfor them in your \"C\" directory.")
(dest icon1)
(setdefaulttool "C:PPMore")
)
(complete 90)
(tooltype
(prompt ("\nSetting default text reader for \"%s\" to \"C:PPMore\"." icon2))
(help "This will set the tool used to read the text files so that it looksfor them in your \"C\" directory.")
(dest icon2)
(setdefaulttool "C:PPMore")
)
(complete 92)
(tooltype
(prompt ("\nSetting default guide reader for \"%s\" to \"C:PPGuide\"." icon3))
(help "This will set the tool used to read the text files so that it looksfor them in your \"C\" directory.")
(dest icon3)
(setdefaulttool "C:PPGuide")
)
(complete 97)
(set com (cat "assign CANAL: " location))
(complete 100)
(exit "Canal Calculator is ready to use but read the Doc files first")